#ifndef GAME_ENGINE
#define GAME_ENGINE

#include "../app/entity/player.h"
#include "../app/entity/warp.h"
#include "../sleek/start.h"
#include "../app/Physic.h"

namespace interne
{
    class GameCore;
    class GameEditor : public sleek::core::device::event
    {
        public:
            GameEditor(GameCore*, sleek::core::engine::world*);
            virtual ~GameEditor();

            virtual void save(const char*);
            virtual void load(const char*);
            virtual void loadEntity(Json::Value);

            virtual bool manage(sleek::core::device::input*);
            virtual void render();
        private:
            sleek::core::engine::world *smgr;
            sleek::core::device::Device *screen;
            GameCore *core;
        protected:
            b2dJson loader;
    };
}
#endif // GAME_MENU
